home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / linklist / source.lha / doc / lInsNode.3 < prev    next >
Text File  |  1993-08-08  |  1KB  |  47 lines

  1. '.so tmac.clman
  2. .TH "lInsNode"
  3. .IX lInsNode
  4. .SH NAME
  5. lInsNode - Insert node.
  6. .SH SYNOPSIS
  7. int
  8. .BR "lInsNode" "(id, where, data, size, flag)"
  9. .br
  10. .RT
  11. .RP
  12. In    int    id    identifier of linked list
  13. .RP
  14. In    int    where    place where node must be inserted
  15. .RP
  16. In    Byte    *data    data of node
  17. .RP
  18. In    int    size    size of data
  19. .RP
  20. In    int    flag    user information flag
  21. .DT
  22. .SH DESCRIPTION
  23. \fBlInsNode\fP inserts a node in a linked list. Where the node must be
  24. inserted can be specified by \fIwhere\fP. A node can be added at the
  25. front of the list, before or after the current node and at the end of
  26. the list. For each node a flag can be set by the user, e.g. to identify
  27. the node or the type of node. When the flag identifies the node you can
  28. retrieve the nodes by flag (lFndFlagNode).
  29. .SH PARAMETER DEFINITIONS
  30. .if t .ta 0.2i 1.5i
  31. \fIwhere\fP :
  32. .nf
  33.     lFIRST    as first node
  34.     lBEFORE    before current node
  35.     lAFTER    after current node
  36.     lLAST    as last node
  37. .fi
  38. .SH RETURN CODES
  39. .nf
  40. Return on success :
  41.     lSUCCESS
  42. Return on error :
  43.     lUNKNOWN_ID, lWRONG_WHERE
  44. .fi
  45. .SH AUTHOR
  46. Anita Eijs (TNO - Bouw - BouwInformatica)
  47.